﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
  <Style x:Key="ListViewItemStyle" TargetType="{x:Type ListViewItem}">
    <Setter Property="Template">
      <Setter.Value>
        <ControlTemplate TargetType="{x:Type ListViewItem}">
          <Border x:Name="border" Height="30" BorderBrush="#CCCCCC" BorderThickness="0,0,0,1">
            <GridViewRowPresenter></GridViewRowPresenter>
          </Border>
          <ControlTemplate.Triggers>
            <Trigger Property="IsMouseOver" Value="True">
              <Setter TargetName="border" Property="Background" Value="#EEEEEE"></Setter>
            </Trigger>
            <Trigger Property="ListBoxItem.IsSelected" Value="True">
              <Setter TargetName="border" Property="Background" Value="#B0E2FF"></Setter>
            </Trigger>
          </ControlTemplate.Triggers>
        </ControlTemplate>
      </Setter.Value>
    </Setter>
  </Style>

  <DataTemplate x:Key="CellTemplateName">
    <Border>
      <TextBlock Text="{Binding Name}"></TextBlock>
    </Border>
  </DataTemplate>

  <DataTemplate x:Key="CellTemplateDate">
    <Border>
      <TextBlock Text="{Binding Date}"></TextBlock>
    </Border>
  </DataTemplate>

  <DataTemplate x:Key="CellTemplateDescription">
    <Border>
      <TextBlock Text="{Binding Description}"></TextBlock>
    </Border>
  </DataTemplate>

</ResourceDictionary>